package org.testis.utils;


/**
 *
 * @author nurhat
 */
public class AtofDebuggingInputProvider
{

    private static AtofDebuggingInputProvider m_instance = null;
    private String m_strInput;


    private AtofDebuggingInputProvider()
    {
        m_strInput = null;
    }


    public synchronized static AtofDebuggingInputProvider getInstance()
    {
        if (m_instance == null) {
            m_instance = new AtofDebuggingInputProvider();
        }
        return m_instance;
    }


    public synchronized String getInput()
    {
        String output = m_strInput;
        m_strInput = null;
        return output;
    }


    public synchronized  void setInput(String strInput)
    {
        this.m_strInput = strInput;
    }
}
